package p270jp.pxv.android.commonObjects.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import java.io.Serializable;
import p014ae.C0172v6;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: PixivEmoji.kt */
/* renamed from: jp.pxv.android.commonObjects.model.PixivEmoji */
/* loaded from: classes2.dex */
public final class PixivEmoji implements Serializable {
    @SerializedName("id")

    /* renamed from: id */
    private final int f18968id;
    @SerializedName("image_url_medium")
    private final String imageUrlMedium;
    @SerializedName("slug")
    private final String slug;

    public PixivEmoji(int i, String str, String str2) {
        MutabilityOwnership.m3745m(str, "slug");
        MutabilityOwnership.m3745m(str2, "imageUrlMedium");
        this.f18968id = i;
        this.slug = str;
        this.imageUrlMedium = str2;
    }

    public static /* synthetic */ PixivEmoji copy$default(PixivEmoji pixivEmoji, int i, String str, String str2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = pixivEmoji.f18968id;
        }
        if ((i2 & 2) != 0) {
            str = pixivEmoji.slug;
        }
        if ((i2 & 4) != 0) {
            str2 = pixivEmoji.imageUrlMedium;
        }
        return pixivEmoji.copy(i, str, str2);
    }

    public final int component1() {
        return this.f18968id;
    }

    public final String component2() {
        return this.slug;
    }

    public final String component3() {
        return this.imageUrlMedium;
    }

    public final PixivEmoji copy(int i, String str, String str2) {
        MutabilityOwnership.m3745m(str, "slug");
        MutabilityOwnership.m3745m(str2, "imageUrlMedium");
        return new PixivEmoji(i, str, str2);
    }

    @Override // java.lang.Object
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PixivEmoji)) {
            return false;
        }
        PixivEmoji pixivEmoji = (PixivEmoji) obj;
        return this.f18968id == pixivEmoji.f18968id && MutabilityOwnership.m3749h(this.slug, pixivEmoji.slug) && MutabilityOwnership.m3749h(this.imageUrlMedium, pixivEmoji.imageUrlMedium);
    }

    public final int getId() {
        return this.f18968id;
    }

    public final String getImageUrlMedium() {
        return this.imageUrlMedium;
    }

    public final String getSlug() {
        return this.slug;
    }

    @Override // java.lang.Object
    public int hashCode() {
        return this.imageUrlMedium.hashCode() + C0172v6.m12134a(this.slug, this.f18968id * 31, 31);
    }

    @Override // java.lang.Object
    public String toString() {
        StringBuilder c = C0261e.m12042c("PixivEmoji(id=");
        c.append(this.f18968id);
        c.append(", slug=");
        c.append(this.slug);
        c.append(", imageUrlMedium=");
        return C2047a.m8800b(c, this.imageUrlMedium, ')');
    }
}
